use core::ops::Deref;

use stm32f1::stm32f103::{self, tim2};


pub struct TIM2;

impl Deref for TIM2 {
    type Target = tim2::RegisterBlock;
    fn deref(&self) -> &Self::Target {
        unsafe { &*stm32f103::TIM2::PTR }
    }
}

